const mongoose = require('mongoose');
const { Schema } = mongoose;
//绩效
const achievementSchame = new Schema({
  id: String,//绩效编号
  employeeId: String,//员工编号
  name: String,//员工姓名
  employeeType: String,//员工类型
  year: Number,//绩效年份
  month: Number,//绩效月份
  baseWage: Number,//基础工资
  rating: Number,//绩效
  remark: String,//备注
});

const achievementModel = mongoose.model('achievement',achievementSchame);

module.exports = achievementModel;